package chapter12.mapper;

import chapter11.Role;
import org.springframework.stereotype.Repository;

/**
 * Created with IntelliJ IDEA.
 * Description:
 *
 * @author lzy
 * @create 2018-04-16 下午5:04
 */
@Repository
public interface RoleMapper {
    public int insertRole(Role role);

    public int deleteRole(long id);

    public Role getRole(long id);

    public int updateRole(Role role);
}
